home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / U-Z / VideoToolbox 4.95.sit / VideoToolbox / VideoToolboxSources / Exponential.c < prev    next >
MacBinary  |  1994-08-01  |  1.0 KB  |  [TEXT/MMCC]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Mon Aug 1 07:22:38 1994, modified Mon Aug 1 07:22:38 1994, creator 'MMCC', type ASCII, 299 bytes "Exponential.c" , at 0x1ab 470 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MMCC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 45 78 70 6f 6e 65 | 6e 74 69 61 6c 2e 63 00 |..Expone|ntial.c.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 00 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 01 2b 00 | 00 01 d6 aa 62 8b 7e aa |......+.|....b.~.|
|00000060| 62 8b 7e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |b.~.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 0d 7e 00 00 |........|.....~..|
|00000080| 2f 2a 20 45 78 70 6f 6e | 65 6e 74 69 61 6c 2e 63 |/* Expon|ential.c|
|00000090| 20 0d 52 6f 75 74 69 6e | 65 73 20 72 65 6c 61 74 | .Routin|es relat|
|000000a0| 65 64 20 74 6f 20 74 68 | 65 20 65 78 70 6f 6e 65 |ed to th|e expone|
|000000b0| 6e 74 69 61 6c 20 70 72 | 6f 62 61 62 69 6c 69 74 |ntial pr|obabilit|
|000000c0| 79 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 2e 0d |y distri|bution..|
|000000d0| 41 6c 73 6f 20 73 65 65 | 3a 20 42 69 6e 6f 6d 69 |Also see|: Binomi|
|000000e0| 61 6c 2e 63 2c 20 43 68 | 69 53 71 75 61 72 65 2e |al.c, Ch|iSquare.|
|000000f0| 63 2c 20 4e 6f 72 6d 61 | 6c 2e 63 2c 20 55 6e 69 |c, Norma|l.c, Uni|
|00000100| 66 6f 72 6d 2e 63 0d 2a | 2f 0d 23 69 6e 63 6c 75 |form.c.*|/.#inclu|
|00000110| 64 65 20 3c 6d 61 74 68 | 2e 68 3e 0d 0d 64 6f 75 |de <math|.h>..dou|
|00000120| 62 6c 65 20 45 78 70 6f | 6e 65 6e 74 69 61 6c 50 |ble Expo|nentialP|
|00000130| 64 66 28 64 6f 75 62 6c | 65 20 78 29 3b 0d 0d 64 |df(doubl|e x);..d|
|00000140| 6f 75 62 6c 65 20 45 78 | 70 6f 6e 65 6e 74 69 61 |ouble Ex|ponentia|
|00000150| 6c 50 64 66 28 64 6f 75 | 62 6c 65 20 78 29 0d 2f |lPdf(dou|ble x)./|
|00000160| 2f 20 4d 65 61 6e 20 61 | 6e 64 20 76 61 72 69 61 |/ Mean a|nd varia|
|00000170| 6e 63 65 20 61 72 65 20 | 31 2e 0d 7b 0d 09 69 66 |nce are |1..{..if|
|00000180| 28 78 3c 30 2e 30 29 72 | 65 74 75 72 6e 20 30 2e |(x<0.0)r|eturn 0.|
|00000190| 30 3b 0d 09 65 6c 73 65 | 20 72 65 74 75 72 6e 20 |0;..else| return |
|000001a0| 65 78 70 28 2d 78 29 3b | 0d 7d 0d 00 00 00 00 00 |exp(-x);|.}......|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 01 00 00 00 01 8c | 00 00 00 8c 00 00 00 4a |........|.......J|
|00000210| 00 00 00 00 02 00 00 00 | 00 00 20 00 2e a9 34 0d |........|.. ...4.|
|00000220| 8f 00 00 00 b0 ff ff 00 | 00 2d c5 a9 34 0d d5 ff |........|.-..4...|
|00000230| 0d 45 78 70 6f 6e 65 6e | 74 69 61 6c 2e 63 02 00 |.Exponen|tial.c..|
|00000240| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000250| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 ab bf ee 5b 00 00 | 00 00 00 00 01 d6 00 00 |.....[..|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 1e 00 78 00 18 | 01 8d 02 3d 00 78 00 18 |.....x..|...=.x..|
|00000310| 01 8d 02 3d 00 00 00 00 | 00 00 00 00 00 00 00 00 |...=....|........|
|00000320| 00 00 00 00 00 1a 00 01 | 00 00 00 c6 00 00 00 d4 |........|........|
|00000330| 0f 45 78 70 6f 6e 65 6e | 74 69 61 6c 50 64 66 00 |.Exponen|tialPdf.|
|00000340| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 06 | 00 04 00 2a 00 03 01 8d |........|...*....|
|00000370| 02 7d 00 77 00 18 01 8c | 02 3d aa 62 45 e1 00 00 |.}.w....|.=.bE...|
|00000380| 00 9c 00 00 00 9c 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00000390| 00 00 01 8c 00 00 00 8c | 00 00 00 4a 00 a0 1e 10 |........|...J....|
|000003a0| 19 b6 00 00 00 1c 00 4a | 00 00 4d 50 53 52 00 02 |.......J|..MPSR..|
|000003b0| 00 0a 03 f0 ff ff 00 00 | 00 00 00 00 00 00 03 ef |........|........|
|000003c0| ff ff 00 00 00 22 00 00 | 00 00 03 ed ff ff 00 00 |....."..|........|
|000003d0| 00 40 00 a0 19 bc 00 00 | 00 00 00 00 00 00 00 00 |.@......|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+